package com.lbd.gulimall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lbd.common.utils.PageUtils;
import com.lbd.gulimall.product.entity.BrandEntity;
import com.lbd.gulimall.product.entity.CategoryBrandRelationEntity;

import java.util.List;
import java.util.Map;

/**
 * 品牌分类关联
 *
 * @author linbd
 * @email 2236000738@qq.com
 * @date 2021-06-04 17:54:12
 */
public interface CategoryBrandRelationService extends IService<CategoryBrandRelationEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void saveDetail(CategoryBrandRelationEntity categoryBrandRelation);

    void updateBrandInfo(Long brandId, String brandName);

    void updateCategoryInfo(Long catId, String name);


    List<BrandEntity> selectBrandsList(Long catId);

}

